<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            width: 300px;
            height: 50px;
            border: 1px solid red;
            text-align: center;
            line-height: 50px;

            text-decoration: overline;
            text-decoration: underline;
            text-decoration: line-through;
            text-decoration: none;

            /*设置阴影  颜色 x y 模糊度*/
            text-shadow: blue -6px 8px 2px;
            /*字体大小*/
            font-size: 30px;
            /*字体加粗*/
            font-weight: bold;
            /*设置斜体*/
            font-style: italic;
            /*设置字体类型*/
            font-family: cursive;
        }
        h1{
            font-weight: normal;
            font:15px  cursive;
        }
        a{text-decoration: none}
    </style>
</head>
<body>
<h1>这是刘思甜</h1>
<div>文本和字体相关</div>
<a href="">超链接</a>
</body>
</html>